home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 18 / CU Amiga Magazine's Super CD-ROM 18 (1997)(EMAP Images)(GB)[!][issue 1998-01].iso / CUCD / Programming / ModemLink / Examples / DeviceStuff.h < prev    next >
C/C++ Source or Header  |  1997-03-11  |  600b  |  19 lines

  1. #ifndef DEVICES_STUFF_H
  2. #define DEVICE_STUFF_H
  3.  
  4. #include <exec/types.h>
  5. #include <exec/io.h>
  6. #include <exec/ports.h>
  7.  
  8. int OpenTimerDevice(struct MsgPort **TimerMP, struct timerequest **TimerIO);
  9. int OpenSerialDevice(struct MsgPort **SerMP, struct IOExtSer **SerIO, char *SerName, LONG Unit);
  10.  
  11. int TimedIO(struct IORequest *IOReq, int TimeOut);
  12. void DoAbortIO(struct IORequest *IO);
  13. void SafeCloseDevice(struct MsgPort *MP, struct IORequest *IO);
  14.  
  15. int CloneIO(struct IORequest *IO, struct MsgPort **NewMP, struct IORequest **NewIO);
  16. void DeleteIO_MP(struct MsgPort *MP, struct IORequest *IO);
  17.  
  18. #endif
  19.